package com.situ.crm.entity;

import java.util.Date;

public class SaleChance {
    private Integer id;

    private String chanceSource;

    private Integer customerId;

    private Integer productId;

    private Integer userId;

    private Integer successRate;

    private String description;

    private String createMan;

    private Integer status;

    private Integer devResult;

    private Date createTime;

    private Date updateTime;

    public SaleChance(Integer id, String chanceSource, Integer customerId, Integer productId, Integer userId, Integer successRate, String description, String createMan, Integer status, Integer devResult, Date createTime, Date updateTime) {
        this.id = id;
        this.chanceSource = chanceSource;
        this.customerId = customerId;
        this.productId = productId;
        this.userId = userId;
        this.successRate = successRate;
        this.description = description;
        this.createMan = createMan;
        this.status = status;
        this.devResult = devResult;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public SaleChance() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getChanceSource() {
        return chanceSource;
    }

    public void setChanceSource(String chanceSource) {
        this.chanceSource = chanceSource == null ? null : chanceSource.trim();
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getSuccessRate() {
        return successRate;
    }

    public void setSuccessRate(Integer successRate) {
        this.successRate = successRate;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getCreateMan() {
        return createMan;
    }

    public void setCreateMan(String createMan) {
        this.createMan = createMan == null ? null : createMan.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getDevResult() {
        return devResult;
    }

    public void setDevResult(Integer devResult) {
        this.devResult = devResult;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", chanceSource=").append(chanceSource);
        sb.append(", customerId=").append(customerId);
        sb.append(", productId=").append(productId);
        sb.append(", userId=").append(userId);
        sb.append(", successRate=").append(successRate);
        sb.append(", description=").append(description);
        sb.append(", createMan=").append(createMan);
        sb.append(", status=").append(status);
        sb.append(", devResult=").append(devResult);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}